import 'package:json_annotation/json_annotation.dart';

part 'area_style.g.dart';

@JsonSerializable(includeIfNull: false, explicitToJson: true)
class AreaStyle {
  var color;
  var shadowBlur;
  var shadowColor;
  var shadowOffsetX;
  var shadowOffsetY;
  var opacity;

  AreaStyle({this.color, this.shadowBlur, this.shadowColor, this.shadowOffsetX,
    this.shadowOffsetY, this.opacity});

  factory AreaStyle.fromJson(Map<String, dynamic> json) =>
      _$AreaStyleFromJson(json);
  Map<String, dynamic> toJson() => _$AreaStyleToJson(this);


}
